// Listen for extension icon click to open the side panel
chrome.action.onClicked.addListener((tab) => {
  // Open the side panel in the current tab
  chrome.sidePanel.open({ tabId: tab.id });
}); 